<?php exit("breakcms");?>
{include file="public/not_index_header.php"}
{if $_POST['action']=='from'}
<div class="showinfo">
    添加用户////
</div>
<form action="" method="post" onsubmit="">
    <div class="showtable2_head">
    	添加用户
    </div>
    <div class="showtable2_body">
        <table border="0" cellpadding="0" cellspacing="1" width="100%" class="tableborder">

            <tr>
              <td width="22%" align="right">用户名(登录名)&nbsp;&nbsp;</td>
              <td width="78%" align="left"><input name="user_login" type="text" class="input_text_default" id="sitename"/></td>
            </tr>
            <tr>
              <td width="22%" align="right">密码&nbsp;&nbsp;</td>
              <td width="78%" align="left"><input name="user_pass" type="text" class="input_text_default" id="sitename"/></td>
            </tr>
            <tr>
              <td align="right">所属组&nbsp;&nbsp;</td>
              <td align="left"><select class="select_default" name="group_id">
                {foreach from="$GROUP"}<option value="{$item['group_id']}">{$item['group_name']}</option>{/foreach}
              </select></td>
            </tr>
        </table>
</div>
    <div class="showbutton_right">
        <input value="保存" type="submit" class="button"/>&nbsp;&nbsp;&nbsp;&nbsp;<input value="重置"   type="reset" class="button"/><input type="hidden" value="insert"  name="postaction"/>
    </div>
</form>
{elseif $_POST['action']=='insert'}
{include file="public/message.php"}
{elseif $_POST['action']=='error'}
{include file="public/message.php"}
{/if}
{include file="public/not_index_footer.php"}